<style type="text/css">
    .add-issuer-control {
        height: 35px;
    }
</style>
<div class="portlet box blue " id="add_issue_window"
     style="display:none;width: 900px;height:600px;position: fixed;left: 50%;top: 100px;overflow: hidden;">
<div class="portlet-title">
    <div class="caption">
        <i class="icon-reorder"></i>添加任务
    </div>
    <div class="tools">
        <a href="javascript:;" class="remove"></a>
    </div>
</div>
<div class="portlet-body form" style="overflow-y:scroll;height:545px;">
    <!-- BEGIN FORM-->
    <form action="#" class="form-horizontal form-bordered form-row-stripped">
        <input type="hidden" id="add_issue_window_id">
        <input type="hidden" id="add_issue_window_current_table_status">

        <div class="control-group">
            <label class="control-label">
                需求名称
            </label>

            <div class="controls">
                <input type="text" class="m-wrap span12" id="add_issue_window_name">
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                需求类型
            </label>

            <div class="controls">
                <select class="m-wrap span12" id="add_issue_window_type">
                </select>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                需求描述
            </label>

            <div class="controls">
                <textarea class="m-wrap span12" style="height: 100px;" id="add_issue_window_description"></textarea>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                提出需求人
            </label>
            <div class="controls add-issuer-control">
                <select class="m-wrap span12" id="add_issue_window_needer">
                </select>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                开发负责人
            </label>
            <div class="controls add-issuer-control">
                <select class="m-wrap span12" id="add_issue_window_developer">
                </select>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                开发成员
            </label>
            <div class="controls add-issuer-control">
                <select class="m-wrap span12" multiple id="add_issue_window_develop_members">
                </select>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                测试负责人
            </label>

            <div class="controls add-issuer-control">
                <select class="m-wrap span12" id="add_issue_window_tester">
                </select>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                设备类型
            </label>
            <div class="controls add-issuer-control">
                <input type="checkbox" name="device_type" value="1"/>Web
                <input type="checkbox" name="device_type" value="2"/>安卓Pad
                <input type="checkbox" name="device_type" value="3"/>安卓手机
                <input type="checkbox" name="device_type" value="4"/>iOS
            </div>
        </div>

        <div class="control-group">
            <label class="control-label">
                预计原型交付时间
            </label>

            <div class="controls">
                <div class="input-append date form_advance_datetime">
                    <input id="add_issue_window_wish_origin_time" class="m-wrap m-ctrl-medium date-picker span8"
                           readonly type="text" value=""/><span class="add-on"><i class="icon-remove"></i></span> <span
                        class="add-on"><i
                        class="icon-calendar"></i></span>
                </div>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                预计上线时间
            </label>

            <div class="controls">
                <div class="input-append date form_advance_datetime">
                    <input id="add_issue_window_wish_time" class="m-wrap m-ctrl-medium date-picker span8" readonly
                           type="text" value=""/><span class="add-on"><i class="icon-remove"></i></span> <span
                        class="add-on"><i
                        class="icon-calendar"></i></span>
                </div>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                当前状态
            </label>

            <div class="controls">
                <select class="m-wrap span12" id="add_issue_window_status">
                </select>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                优先级
            </label>

            <div class="controls">
                <select class="m-wrap span12" id="add_issue_window_critical">
                    <option value="1">低</option>
                    <option value="2" selected>中</option>
                    <option value="3">高</option>
                </select>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                所属项目
            </label>

            <div class="controls add-issuer-control">
                <select class="m-wrap span12" id="add_issue_window_project">
                </select>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                代码分支
            </label>

            <div class="controls add-issuer-control">
                <select class="m-wrap span12" id="add_issue_window_branch">
                </select>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                关键代码和数据库表
            </label>

            <div class="controls">
                <textarea class="m-wrap span12" style="height: 100px;" id="add_issue_window_server_code"></textarea>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                可能影响的功能
            </label>

            <div class="controls">
                <textarea class="m-wrap span12" style="height: 100px;"
                          id="add_issue_window_possible_effect"></textarea>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                自测内容
            </label>

            <div class="controls">
                <textarea class="m-wrap span12" style="height: 100px;"
                          id="add_issue_window_self_test_content"></textarea>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">
                自测中发现的问题
            </label>

            <div class="controls">
                <textarea class="m-wrap span12" style="height: 100px;"
                          id="add_issue_window_self_test_problem"></textarea>
            </div>
        </div>

        <!--<div class="control-group">-->
            <!--<label class="control-label">-->
                <!--测试发现的问题-->
            <!--</label>-->

            <!--<div class="controls">-->
                <!--<textarea class="m-wrap span12" style="height: 100px;"-->
                          <!--id="add_issue_window_test_problem"></textarea>-->
            <!--</div>-->
        <!--</div>-->

        <!--<div class="control-group">-->
            <!--<label class="control-label">-->
                <!--测试用例-->
            <!--</label>-->

            <!--<div class="controls">-->
                <!--<textarea class="m-wrap span12" style="height: 100px;"-->
                          <!--id="add_issue_window_test_use_case"></textarea>-->
            <!--</div>-->
        <!--</div>-->
        <div class="form-actions">
            <button type="button" class="btn blue" id="add_issue_window_save_btn">
                <i class="icon-ok"></i>
                保存
            </button>
            <button type="button" class="btn" id="add_issue_window_cancel_btn">
                取消
            </button>
        </div>
    </form>
    <!-- END FORM-->
</div>
</div>
